package com.walsai.pcsys.core.service.impl;


import java.util.List;

import com.walsai.pcsys.core.dao.GenericDao;
import com.walsai.pcsys.core.dao.ProblemDao;
import com.walsai.pcsys.core.model.Problem;
import com.walsai.pcsys.core.service.ProblemManager;

public class ProblemManagerImpl extends GenericManagerImpl<Problem, Long>
		implements ProblemManager {

	private ProblemDao problemDao;
	
	public ProblemManagerImpl(ProblemDao problemDao) {
		super(problemDao);
		this.problemDao = problemDao;
	}

	@Override
	public List<Problem> getPrivateProblems() {
		return this.problemDao.getPrivateProblems();
	}

}
